package com.wjc.train.business.repository;

import com.wjc.train.business.entity.TrainCarriage;
import com.wjc.train.business.mapper.TrainCarriageMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.business.req.TrainCarriageQueryReq;
import com.wjc.train.business.resp.TrainCarriageQueryResp;

/**
 * <p>
 * 车厢表 仓储类
 * </p>
 *
 * @author Guessed
 * @since 2023-08-02
 */
@Repository
public class TrainCarriageRepository extends ServiceImpl<TrainCarriageMapper, TrainCarriage> implements IService<TrainCarriage>  {

   public IPage<TrainCarriageQueryResp> queryList(IPage<TrainCarriageQueryResp> page, TrainCarriageQueryReq traincarriageQueryReq) {
        return baseMapper.queryList(page,traincarriageQueryReq);
    }
}